﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ConfigurationManagement.aspx.cs" Inherits="LineWatch_Web.ConfigurationManagement" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Untitled Page</title>
    <link href="CSS/Main.css" rel="stylesheet" type="text/css" />
<script language="javascript" type="text/javascript">
</script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <div id="Title" class="TitleText" style="font-size: 12pt; font-weight: bold; font-family: 幼圆;">
        <br />
    系统参数设置
    </div>
    <div id="Content" class="ContentGroup" style="left: 10px; top: 50px">
    <div id="row1" class="Content">
        <table style="width: 720px; height: 1px;" id="TABLE1">
            <tr>
                <td style="width: 125px; height: 30px; font-size: 10pt;">
                    流水线名：</td>
                <td style="width: 551px; height: 30px;">
        <asp:DropDownList ID="ddlLine" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlLine_SelectedIndexChanged">
        </asp:DropDownList></td>
                <td style="height: 30px;">
                </td>
            </tr>
                        <tr>
                <td style="width: 125px; font-size: 10pt; height: 30px;">
                    屏保图片：</td>
                <td style="width: 551px">
    <asp:Label ID="labPic1" runat="server" Width="200px" BorderColor="RoyalBlue" 
                        BorderStyle="Dotted" BorderWidth="1px" Visible="False"></asp:Label>
      <asp:FileUpload ID="fuPic1" runat="server" Width="416px" /></td>
                <td>
                </td>
            </tr>
                        <tr>
                <td style="width: 125px; font-size: 10pt; height: 30px;">
                </td>
                <td style="width: 551px">
      <asp:Label ID="labPic2" runat="server" Width="200px" BorderColor="RoyalBlue" 
                        BorderStyle="Dotted" BorderWidth="1px" Visible="False"></asp:Label>
      <asp:FileUpload ID="fuPic2" runat="server" Width="416px" /></td>
                <td>
                </td>
            </tr>
                        <tr>
                <td style="width: 125px; font-size: 10pt; height: 30px;">
                </td>
                <td style="width: 551px">
      <asp:Label ID="labPic3" runat="server" Width="200px" BorderColor="RoyalBlue" 
                        BorderStyle="Dotted" BorderWidth="1px" Visible="False"></asp:Label>
      <asp:FileUpload ID="fuPic3" runat="server" Width="416px" /></td>
                <td>
                </td>
            </tr>
                        <tr>
                <td style="width: 125px; font-size: 10pt; height: 30px;">
                </td>
                <td style="width: 551px">
      <asp:Label ID="labPic4" runat="server" Width="200px" BorderColor="RoyalBlue" 
                        BorderStyle="Dotted" BorderWidth="1px" Visible="False"></asp:Label>
      <asp:FileUpload ID="fuPic4" runat="server" Width="416px" /></td>
                <td>
                <asp:Button ID="btnPic" runat="server" OnClick="btnPic_Click" Text="上传" /></td>
            </tr>
                        <tr>
                <td style="width: 125px; height: 30px; font-size: 10pt;">
                    屏保文字：</td>
                <td style="width: 551px; height: 30px;">
        <asp:TextBox ID="txtWord" runat="server" MaxLength="100" Width="146px"></asp:TextBox>
                    <asp:DropDownList ID="ddlSize" runat="server">
            <asp:ListItem>8</asp:ListItem>
            <asp:ListItem>9</asp:ListItem>
            <asp:ListItem>10</asp:ListItem>
            <asp:ListItem>11</asp:ListItem>
            <asp:ListItem>12</asp:ListItem>
            <asp:ListItem>14</asp:ListItem>
            <asp:ListItem>16</asp:ListItem>
            <asp:ListItem>18</asp:ListItem>
            <asp:ListItem>20</asp:ListItem>
            <asp:ListItem>22</asp:ListItem>
            <asp:ListItem>24</asp:ListItem>
            <asp:ListItem>28</asp:ListItem>
            <asp:ListItem>32</asp:ListItem>
            <asp:ListItem>36</asp:ListItem>
            <asp:ListItem>40</asp:ListItem>
        </asp:DropDownList>
                    <asp:DropDownList ID="ddlFont" runat="server">
            <asp:ListItem>宋体</asp:ListItem>
            <asp:ListItem>楷体</asp:ListItem>
            <asp:ListItem>黑体</asp:ListItem>
            <asp:ListItem>隶书</asp:ListItem>
            <asp:ListItem>幼圆</asp:ListItem>
            <asp:ListItem>仿宋</asp:ListItem>
            <asp:ListItem>Courier New</asp:ListItem>
            <asp:ListItem>Times New Roman</asp:ListItem>
            <asp:ListItem>Tahoma</asp:ListItem>
            <asp:ListItem>Verdana</asp:ListItem>
        </asp:DropDownList>
                    <asp:DropDownList ID="ddlColor" runat="server">
            <asp:ListItem Value="#00ffff">Aqua</asp:ListItem>
            <asp:ListItem Value="#0000ff">Blue</asp:ListItem>
            <asp:ListItem Value="#000000">Black</asp:ListItem>
            <asp:ListItem Value="#ff00ff">Fuchsia</asp:ListItem>
            <asp:ListItem Value="#808080">Gray</asp:ListItem>
            <asp:ListItem Value="#008000">Green</asp:ListItem>
            <asp:ListItem Value="#ffd700">Gold</asp:ListItem>
            <asp:ListItem Value="#ffffff">White</asp:ListItem>
            <asp:ListItem Value="#00ff00">Lime</asp:ListItem>
            <asp:ListItem Value="#800000">Marcon</asp:ListItem>
            <asp:ListItem Value="#000080">Navy</asp:ListItem>
            <asp:ListItem Value="#ffc0cb">Pink</asp:ListItem>
            <asp:ListItem Value="#800080">Purple</asp:ListItem>
            <asp:ListItem Value="#ff0000">Red</asp:ListItem>
            <asp:ListItem Value="#808000">Olive</asp:ListItem>
            <asp:ListItem Value="#ffa500">Orange</asp:ListItem>
            <asp:ListItem Value="#c0c0c0">Silver</asp:ListItem>
            <asp:ListItem Value="#fa8072">Solmon</asp:ListItem>
            <asp:ListItem Value="#008080">Teal</asp:ListItem>
            <asp:ListItem Value="#ffff00">Yellow</asp:ListItem>
            <asp:ListItem Value="#9acd32">YellowGreen</asp:ListItem>
        </asp:DropDownList></td>
                <td style="height: 30px;">
        </td>
            </tr>
            <tr>
                <td style="width: 125px; height: 30px; font-size: 10pt;">
                    求助提示音：</td>
                <td style="width: 551px; height: 30px">
                <asp:Label ID="labMusicH" runat="server" Width="200px" BorderColor="RoyalBlue" 
                        BorderStyle="Dotted" BorderWidth="1px" Visible="False"></asp:Label>
    <asp:FileUpload ID="fuMusicHelp" runat="server" Width="416px" /></td>
                <td style="height: 30px;">
                </td>
            </tr>
            <tr>
                <td style="width: 125px; height: 30px; font-size: 10pt;">
                    异常提示音：</td>
                <td style="width: 551px; height: 30px">
                <asp:Label ID="labMusicS" runat="server" Width="200px" BorderColor="RoyalBlue" 
                        BorderStyle="Dotted" BorderWidth="1px" Visible="False"></asp:Label>
    <asp:FileUpload ID="fuMusicStop" runat="server" Width="416px" /></td>
                <td style="height: 30px;">
                </td>
            </tr>
            <tr>
                <td style="width: 125px; height: 30px; font-size: 10pt;">
                    紧停提示音：</td>
                <td style="width: 551px; height: 30px;">
                <asp:Label ID="labMusicA" runat="server" Width="200px" BorderColor="RoyalBlue" 
                        BorderStyle="Dotted" BorderWidth="1px" Visible="False"></asp:Label>
    <asp:FileUpload ID="fuMusicAlarm" runat="server" Width="416px" /></td>
                <td style="height: 30px;">
                
    <asp:Button ID="btnMusic" runat="server" Text="上传" OnClick="btnMusic_Click" />
                </td>
            </tr>
            <tr>
                <td style="width: 125px; height: 30px; font-size: 10pt;">
                    1班时间范围：</td>
                <td style="width: 551px; height: 35px;">
                <asp:TextBox ID="txtShiftA1" runat="server"></asp:TextBox>
                    -
                    <asp:TextBox ID="txtShiftA2" runat="server"></asp:TextBox>&nbsp;&nbsp; &nbsp; &nbsp;
                    &nbsp;&nbsp;
                </td>
                <td style="height: 35px;">
                    &nbsp;</td>
            </tr>
            <tr>
            <td style="width: 125px; font-size: 10pt;">
            </td>
                        <td style="width: 551px">
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtShiftA1"
                        ErrorMessage="时间格式错误！" 
                                ValidationExpression="(([0-1]\d)|(2[0-3])):([0-5]\d)" Width="115px" 
                                Font-Size="10pt" Font-Bold="True" ForeColor="Red"></asp:RegularExpressionValidator>
                            &nbsp; &nbsp;<asp:RegularExpressionValidator ID="RegularExpressionValidator2" 
                                runat="server" ControlToValidate="txtShiftA2"
                        ErrorMessage="时间格式错误！" 
                                ValidationExpression="(([0-1]\d)|(2[0-3])):([0-5]\d)" Width="115px" 
                                Font-Size="10pt" Font-Bold="True" ForeColor="Red"></asp:RegularExpressionValidator></td>
                        <td>
            </td>
            </tr>
                       <tr>
                <td style="width: 125px; height: 30px; font-size: 10pt;">
                    2班时间范围：</td>
                <td style="width: 551px; height: 35px;">
                <asp:TextBox ID="txtShiftB1" runat="server"></asp:TextBox>
                    -
                    <asp:TextBox ID="txtShiftB2" runat="server"></asp:TextBox>
                    &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                </td>
                <td style="height: 35px;">
                    &nbsp;</td>
            </tr>
                       <tr>
                <td style="width: 125px">
                </td>
                <td style="width: 551px">
                       <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="txtShiftB1"
                        ErrorMessage="时间格式错误！" 
                           ValidationExpression="(([0-1]\d)|(2[0-3])):([0-5]\d)" Width="115px" 
                           Font-Size="10pt" Font-Bold="True" ForeColor="Red"></asp:RegularExpressionValidator>
                       &nbsp; &nbsp;<asp:RegularExpressionValidator ID="RegularExpressionValidator4" 
                           runat="server" ControlToValidate="txtShiftB2"
                        ErrorMessage="时间格式错误！" 
                           ValidationExpression="(([0-1]\d)|(2[0-3])):([0-5]\d)" Width="115px" 
                           Font-Size="10pt" Font-Bold="True" ForeColor="Red"></asp:RegularExpressionValidator></td>
                <td>
                </td>
            </tr>
                       <tr>
                <td style="width: 125px">
                </td>
                <td style="width: 551px">
    <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" /></td>
                <td>
                </td>
            </tr>
        </table>
        </div>
    </div>
      
    
    </div>
    </form>
</body>
</html>
